﻿using System.Collections.Generic;

namespace DTD.Repositories.Interfaces
{
    public interface ITaskRepository
    {
        List<Task> GetTasksByCategory(int categoryId);

        void Add(Task task);

        void Update(Task task, string category);

        void MarkAsDone(int Id);

        List<Task> GetAll();
    }
}